package com.zt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zt.enums.MembershipType;
import com.zt.enums.OrderStatus;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@TableName("membership_orders")
public class MembershipOrder implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private String id;
    private Long userId;
    private MembershipType type;
    private BigDecimal amount;
    private OrderStatus status;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private LocalDateTime payTime;
} 